#!/bin/bash
#z TeamRelease.bat vytvoril bobor

server="127.0.0.1"
ep=0.98

if [ -z "$1" ]; then
  name=Loptosi
elif [ "$1" = 2 ]; then
  name=Loptosi2
else
  name="$1"
fi

./Output/GoalieExe/GoalieExe -t 11 -a -g -s "$server" -n "$name" -ep "$ep" &
sleep 5

./Output/CoachExe/CoachExe -t 11 -a -s "$server" -n $name -t 4 &
#sleep 1

./Output/PlayerExe/PlayerExe -t 11 -a -s "$server" -n $name -ep "$ep" &
#sleep 1
./Output/PlayerExe/PlayerExe -t 11 -a -s "$server" -n $name -ep "$ep" &
#sleep 1
./Output/PlayerExe/PlayerExe -t 11 -a -s "$server" -n $name -ep "$ep" &
#sleep 1
./Output/PlayerExe/PlayerExe -t 11 -a -s "$server" -n $name -ep "$ep" &
#sleep 1
./Output/PlayerExe/PlayerExe -t 11 -a -s "$server" -n $name -ep "$ep" &
#sleep 1
./Output/PlayerExe/PlayerExe -t 11 -a -s "$server" -n $name -ep "$ep" &
#sleep 1
./Output/PlayerExe/PlayerExe -t 11 -a -s "$server" -n $name -ep "$ep" &
#sleep 1
./Output/PlayerExe/PlayerExe -t 11 -a -s "$server" -n $name -ep "$ep" &
#sleep 1
./Output/PlayerExe/PlayerExe -t 11 -a -s "$server" -n $name -ep "$ep" &
#sleep 1
./Output/PlayerExe/PlayerExe -t 11 -a -s "$server" -n $name -ep "$ep" &
